Repository navigation
Long polling - #500
Open
diogoosz wants to merge 1 commit into
Open
Long polling#500diogoosz wants to merge 1 commit into
diogoosz wants to merge 1 commit into
Conversation
Also translates the SVG diagram (long-polling.svg) via images.yml + the gulp translation pipeline, verified visually, and the embedded chat demo shown via [codetabs] (longpoll.view/index.html, browser.js, server.js). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
gabifs
reviewed
Nov 22, 2026
|
|
||
| ```warn header="Server should be ok with many pending connections" | ||
| The server architecture must be able to work with many pending connections. | ||
| ```warn header="O servidor deve estar bem com muitas conexões pendentes" |
Contributor
There was a problem hiding this comment.
Sugestão: "deve estar bem com" é uma tradução literal de "should be ok with" e soa pouco natural em português. Que tal "deve suportar"?
Suggested change
| ```warn header="O servidor deve estar bem com muitas conexões pendentes" | |
| ```warn header="O servidor deve suportar muitas conexões pendentes" |
gabifs
reviewed
Nov 22, 2026
| ``` | ||
|
|
||
| As you can see, `subscribe` function makes a fetch, then waits for the response, handles it and calls itself again. | ||
| Como você pode ver, a função `subscribe` faz um fetch, depois espera a resposta, trata ela e se chama de novo. |
Contributor
There was a problem hiding this comment.
Pequeno ajuste gramatical: na norma culta, o pronome "ela" não funciona como objeto direto. Sugiro "a trata":
Suggested change
| Como você pode ver, a função `subscribe` faz um fetch, depois espera a resposta, trata ela e se chama de novo. | |
| Como você pode ver, a função `subscribe` faz um fetch, depois espera a resposta, a trata e se chama de novo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
long-polling.svg) viaimages.yml+ pipeline do gulp, conferido visualmente.[codetabs src="longpoll"](index.html,browser.js,server.js), já que é mostrada inline ao leitor.Plano de teste
🤖 Generated with Claude Code